<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .box{
            border:1px solid #cccccc;
            width: 310px;
            height: 438px;
            margin:100px auto;
            perspective: 500px;
        }
        .box img{
            transition: all 1s;
            transform-origin: top;
        }

        .box:hover img{
            transform: rotateX(-80deg);
        }
    </style>
</head>
<body>
    <div class="box">
        <img src="images/pk1.png" alt="">
    </div>
</body>
</html>